home *** CD-ROM | disk | FTP | other *** search
/ MacTech 1 to 12 / MacTech-vol-1-12.toast / Tools / ResAnomaly 1.2 ƒ / SpinCursorsLib / SpinCursorLib.h < prev    next >
C/C++ Source or Header  |  1995-08-04  |  482b  |  31 lines

  1. #pragma once
  2. /*
  3.     File:        SpinCursorLib.h
  4.     
  5.     Contains:    Cursor spinning routines.
  6.  
  7.     Copyright:    ©1995 Chris K. Thomas.  All Rights Reserved.
  8.     
  9.     Version:    1.0
  10.     
  11.     History:    ckt August 2, 1995 created.
  12. */
  13.  
  14. #include <LDynamicArray.h>
  15.  
  16. const short     kMinSpinTicks = 5;
  17.  
  18. class CursorSet
  19. {
  20.     LDynamicArray    mYCursors;
  21.     long            mLastTicks;
  22.     long            mCursorIterator;
  23.     CursHandle        mCurrentCursor;
  24.     
  25.     public:
  26.     CursorSet(const short inStartID, const short inNumCursors);
  27.     ~CursorSet();
  28.     
  29.     void Spin();
  30. };
  31.